$OpenBSD: patch-CMakeLists_txt,v 1.2 2014/12/12 18:24:44 espie Exp $
--- CMakeLists.txt.orig	Wed Dec 12 15:55:46 2012
+++ CMakeLists.txt	Fri Dec 12 11:01:44 2014
@@ -282,7 +282,6 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
         -Wswitch-enum
         -Wcast-qual
         -Wwrite-strings
-        -Wredundant-decls
         -Wreorder
 		#-Wold-style-cast
        )
@@ -357,16 +356,8 @@ ELSE(PNG_FOUND)
 ENDIF(PNG_FOUND)
 
 
-FIND_PACKAGE(CppUnit)
+MESSAGE("Cppunit not found. No unit tests will be built.")
 
-IF(CppUnit_FOUND)
-  MESSAGE("Found cppunit. Unit tests will be built.")
-  SET(PODOFO_HAVE_CPPUNIT CppUnit_FOUND)
-  INCLUDE_DIRECTORIES(${CPPUNIT_INCLUDE_DIR})
-ELSE(CppUnit_FOUND)
-  MESSAGE("Cppunit not found. No unit tests will be built.")
-ENDIF(CppUnit_FOUND)
-
 FIND_PACKAGE(OpenSSL)
 
 FIND_PACKAGE(FREETYPE REQUIRED)
@@ -505,7 +496,7 @@ SET(PODOFO_LIB
 #
 # Setup directories we will need
 #
-SET(MANDIR "share/man/")
+SET(MANDIR "man/")
 
 # Create the config file. It'll be appended to as the subdirs run though
 # then dependency information will be written to it at the end of the
